package com.insuremonitor.system.domain;

import com.insuremonitor.common.annotation.Excel;
import com.insuremonitor.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 保险类型对象 front_insure_type
 * 
 * @author ruoyi
 * @date 2023-11-03
 */
public class FrontInsureType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保险类型ID */
    private Long insureTypeId;

    /** 保险类型名称 */
    @Excel(name = "保险类型名称")
    private String insureTypeName;

    /** 顺序 */
    @Excel(name = "顺序")
    private Integer sort;

    /** 状态（0停用 1正常） */
    @Excel(name = "状态", readConverterExp = "0=停用,1=正常")
    private String status;

    public void setInsureTypeId(Long insureTypeId)
    {
        this.insureTypeId = insureTypeId;
    }

    public Long getInsureTypeId()
    {
        return insureTypeId;
    }
    public void setInsureTypeName(String insureTypeName)
    {
        this.insureTypeName = insureTypeName;
    }

    public String getInsureTypeName()
    {
        return insureTypeName;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("insureTypeId", getInsureTypeId())
                .append("insureTypeName", getInsureTypeName())
                .append("sort", getSort())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
